-
Notifications
You must be signed in to change notification settings - Fork 741
Refactor _get_source_transforms to remove args #10519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10519
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 32636f5 with merge base df8fc61 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ff5e6d9 to
51a0583
Compare
|
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
| this wil be a no-op. | ||
| """ | ||
| modelname = f"{modelname}_e" | ||
| # Create a mock args object with the necessary attributes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it to limit the extend of changes? It's better than Namespace, but I'm wondering if eventually we need to group args, and there can still be passing the entire args even not all fields are needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup this is just to limit the changes, after I do a final refactor of the quant source transform functions we can remove this
iseeyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a great improvement from passing Namespace directly. Thanks @jackzhxng !
Summary: Refactor `_get_source_transforsm` to remove args Reviewed By: iseeyuan Differential Revision: D73800023 Pulled By: jackzhxng
51a0583 to
20ec41d
Compare
|
This pull request was exported from Phabricator. Differential Revision: D73800023 |
Summary: Refactor `_get_source_transforsm` to remove args Reviewed By: iseeyuan Differential Revision: D73800023 Pulled By: jackzhxng
20ec41d to
41536ab
Compare
|
This pull request was exported from Phabricator. Differential Revision: D73800023 |
Summary: Refactor `_get_source_transforsm` to remove args Reviewed By: iseeyuan Differential Revision: D73800023 Pulled By: jackzhxng
41536ab to
cfc40c2
Compare
|
This pull request was exported from Phabricator. Differential Revision: D73800023 |
Summary: Refactor `_get_source_transforsm` to remove args Reviewed By: iseeyuan Differential Revision: D73800023 Pulled By: jackzhxng
cfc40c2 to
af4edc6
Compare
|
This pull request was exported from Phabricator. Differential Revision: D73800023 |
Summary: Refactor `_get_source_transforsm` to remove args Reviewed By: iseeyuan Differential Revision: D73800023 Pulled By: jackzhxng
af4edc6 to
32636f5
Compare
|
This pull request was exported from Phabricator. Differential Revision: D73800023 |
Refactor
_get_source_transforsmto remove args